<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="数据2.js"></script>
    <script src="./jquery.-3.6.0.js"></script>
</head>
<body>
    <ul>

    </ul>
    <script>
        $(function(){
            function qwer(yudata){
                var zzq = '';
                for(var i = 0;i<yudata.length;i++){
                    zzq +=`
                        <li><img src="${yudata[i].imgurl}">
                            <p>${yudata[i].text}</p>
                            <h1>${yudata[i].jinqian}</h1>
                            </li>
                    `
                }
                $('ul').html(zzq);
            }
            qwer(yudata);
        })  
        </script>
</body>

</html>